<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="/js/jquery.min.js"></script>
    <script>
        /*window.onload = function () {
            var bt = document.getElementById("bt");
            bt.onclick = function () {
                alert("就不点");
            }
        }*/

        $(function () {
            var $input = $("input");
            $input.click(function() {
                alert("滚犊子");
            })
        })
    </script>
</head>
<body>
<input type="button" value="点我啊" id="bt">
</body>
</html>